package com.excesys.exsecs.access.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.excesys.exsecs.access.entity.AccessProduct;
import com.excesys.exsecs.access.vo.AccessProductVO;
import com.excesys.exsecs.common.core.util.R;
import org.springframework.validation.BindingResult;

import java.util.ArrayList;
import java.util.List;

public interface AccessProductService extends IService<AccessProduct> {

	boolean saveProduct(AccessProduct product);

	boolean removeBatch(ArrayList<Long> toList);


    R importProduct(List<AccessProductVO> excelVOList, BindingResult bindingResult);
}